/**
 * Created by Administrator on 2017/10/17.
 */
$(function(){
    $('.goodscats_header').click(function(){
        $('.classification').toggle();
    })

    $('.classification  .cation_name').each(function(index){
        $(this).click(function(){
            $(this).addClass('selected').siblings().removeClass('selected');
          var  index=$(this).index();
            $('.goodslist  .goodslist_content').eq(index).show().siblings().hide();
            $('.classification').toggle();
        })

    });
});












